const headConf = require('./config/head')
const navConf = require('./config/nav')
const sidebarConf = require('./config/sidebar')

module.exports = {
  "locales": {
    '/': {
      "lang": 'zh-CN'
    }
  },
  "title": "stone-clouds-blog",
  "description": "",
  // 打包目录的名称
  "dest": "public",
  // 请求前缀
  // "base": "/stone-clouds-blog/",
  "base": "/",
  "head": headConf,
  "theme": "reco",
  "themeConfig": {
    "nav": navConf,
    "sidebar": sidebarConf,
    "type": "blog",
    // 控制目录显示的标题层级，4 表示显示到 ####（H4）
    "sidebarDepth": 4,
    "blogConfig": {
      "category": {
        "location": 2,
        "text": "分类"
      },
      "tag": {
        "location": 3,
        "text": "标签"
      }
    },
    // "friendLink": [{
    //     "title": "午后南杂",
    //     "desc": "Enjoy when you can, and endure when you must.",
    //     "email": "1156743527@qq.com",
    //     "link": "https://www.recoluan.com"
    //   },
    //   {
    //     "title": "vuepress-theme-reco",
    //     "desc": "A simple and beautiful vuepress Blog & Doc theme.",
    //     "avatar": "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
    //     "link": "https://vuepress-theme-reco.recoluan.com"
    //   }
    // ],
    "logo": "/logo.png",
    "search": true,
    "searchMaxSuggestions": 10,
    "lastUpdated": "Last Updated",
    "author": "huan.xu",
    "authorAvatar": "/avatar.png",
    "record": "xxxx",
    "startYear": "2017",
    "subSidebar": "auto"
  },
  "markdown": {
    "lineNumbers": true,
    // 让主题可从文档中抽取到 h4 作为目录
    "extractHeaders": ["h2", "h3", "h4"]
  }
}